package com.kedacom.general.controller;

import com.kedacom.general.result.ResponseMessage;
import com.kedacom.general.service.TransmitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;

@RestController
@RequestMapping("/transmit")
public class TransmitController {
    @Autowired
    private TransmitService transmitService;
    @RequestMapping("/afterTransmit")
    public ResponseMessage test(HttpServletRequest request){
            ResponseMessage transmit = transmitService.transmit(request);
            return transmit;
    }
}
